.class public Lcom/esfile/screen/recorder/media/c;
.super Ljava/lang/Object;
.source "DuVideoStitcher.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/media/c$h;,
        Lcom/esfile/screen/recorder/media/c$g;,
        Lcom/esfile/screen/recorder/media/c$f;
    }
.end annotation


# instance fields
.field private final a:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/ba;",
            ">;"
        }
    .end annotation
.end field

.field private final b:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/g8;",
            ">;"
        }
    .end annotation
.end field

.field private final c:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/s7;",
            ">;"
        }
    .end annotation
.end field

.field private d:I

.field private e:I

.field private f:I

.field private g:Lcom/esfile/screen/recorder/media/c$h;

.field private h:Z

.field private i:Lcom/esfile/screen/recorder/media/c$g;

.field private j:Landroid/os/Handler;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/media/c;->a:Ljava/util/List;

    .line 3
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/media/c;->b:Ljava/util/List;

    .line 4
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/media/c;->c:Ljava/util/List;

    const/4 v0, -0x1

    .line 5
    iput v0, p0, Lcom/esfile/screen/recorder/media/c;->d:I

    .line 6
    iput v0, p0, Lcom/esfile/screen/recorder/media/c;->e:I

    .line 7
    iput v0, p0, Lcom/esfile/screen/recorder/media/c;->f:I

    const/4 v0, 0x0

    .line 8
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/media/c;->h:Z

    return-void
.end method

.method private declared-synchronized a(Lcom/esfile/screen/recorder/media/c$h;I)V
    .locals 2

    monitor-enter p0

    .line 38
    :try_start_0
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/media/c;->a(Lcom/esfile/screen/recorder/media/c$h;)Z

    move-result p1

    if-eqz p1, :cond_0

    .line 39
    iget-object p1, p0, Lcom/esfile/screen/recorder/media/c;->i:Lcom/esfile/screen/recorder/media/c$g;

    if-eqz p1, :cond_0

    .line 40
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->j:Landroid/os/Handler;

    new-instance v1, Lcom/esfile/screen/recorder/media/c$b;

    invoke-direct {v1, p0, p1, p2}, Lcom/esfile/screen/recorder/media/c$b;-><init>(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$g;I)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 41
    :cond_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method private declared-synchronized a(Lcom/esfile/screen/recorder/media/c$h;Ljava/lang/Exception;)V
    .locals 2

    monitor-enter p0

    .line 48
    :try_start_0
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/media/c;->a(Lcom/esfile/screen/recorder/media/c$h;)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 p1, 0x0

    .line 49
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/media/c;->h:Z

    const/4 p1, 0x0

    .line 50
    iput-object p1, p0, Lcom/esfile/screen/recorder/media/c;->g:Lcom/esfile/screen/recorder/media/c$h;

    .line 51
    iget-object p1, p0, Lcom/esfile/screen/recorder/media/c;->i:Lcom/esfile/screen/recorder/media/c$g;

    if-eqz p1, :cond_0

    .line 52
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->j:Landroid/os/Handler;

    new-instance v1, Lcom/esfile/screen/recorder/media/c$e;

    invoke-direct {v1, p0, p1, p2}, Lcom/esfile/screen/recorder/media/c$e;-><init>(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$g;Ljava/lang/Exception;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 53
    :cond_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method private declared-synchronized a(Lcom/esfile/screen/recorder/media/c$h;Ljava/lang/String;J)V
    .locals 7

    monitor-enter p0

    .line 42
    :try_start_0
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/media/c;->a(Lcom/esfile/screen/recorder/media/c$h;)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 p1, 0x0

    .line 43
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/media/c;->h:Z

    const/4 p1, 0x0

    .line 44
    iput-object p1, p0, Lcom/esfile/screen/recorder/media/c;->g:Lcom/esfile/screen/recorder/media/c$h;

    .line 45
    iget-object v2, p0, Lcom/esfile/screen/recorder/media/c;->i:Lcom/esfile/screen/recorder/media/c$g;

    if-eqz v2, :cond_0

    .line 46
    iget-object p1, p0, Lcom/esfile/screen/recorder/media/c;->j:Landroid/os/Handler;

    new-instance v6, Lcom/esfile/screen/recorder/media/c$c;

    move-object v0, v6

    move-object v1, p0

    move-object v3, p2

    move-wide v4, p3

    invoke-direct/range {v0 .. v5}, Lcom/esfile/screen/recorder/media/c$c;-><init>(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$g;Ljava/lang/String;J)V

    invoke-virtual {p1, v6}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 47
    :cond_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$h;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/media/c;->c(Lcom/esfile/screen/recorder/media/c$h;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$h;I)V
    .locals 0

    .line 4
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/media/c;->a(Lcom/esfile/screen/recorder/media/c$h;I)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$h;Ljava/lang/Exception;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/media/c;->a(Lcom/esfile/screen/recorder/media/c$h;Ljava/lang/Exception;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$h;Ljava/lang/String;J)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2, p3, p4}, Lcom/esfile/screen/recorder/media/c;->a(Lcom/esfile/screen/recorder/media/c$h;Ljava/lang/String;J)V

    return-void
.end method

.method private declared-synchronized a(Lcom/esfile/screen/recorder/media/c$h;)Z
    .locals 1

    monitor-enter p0

    .line 37
    :try_start_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->g:Lcom/esfile/screen/recorder/media/c$h;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->g:Lcom/esfile/screen/recorder/media/c$h;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-ne v0, p1, :cond_0

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 p1, 0x1

    :goto_1
    monitor-exit p0

    return p1

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method private b()V
    .locals 2

    .line 5
    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 6
    new-instance v1, Landroid/os/Handler;

    invoke-direct {v1, v0}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    iput-object v1, p0, Lcom/esfile/screen/recorder/media/c;->j:Landroid/os/Handler;

    goto :goto_0

    .line 7
    :cond_0
    new-instance v0, Landroid/os/Handler;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/media/c;->j:Landroid/os/Handler;

    :goto_0
    return-void
.end method

.method private declared-synchronized b(Lcom/esfile/screen/recorder/media/c$h;)V
    .locals 2

    monitor-enter p0

    .line 8
    :try_start_0
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/media/c;->a(Lcom/esfile/screen/recorder/media/c$h;)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 p1, 0x0

    .line 9
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/media/c;->h:Z

    const/4 p1, 0x0

    .line 10
    iput-object p1, p0, Lcom/esfile/screen/recorder/media/c;->g:Lcom/esfile/screen/recorder/media/c$h;

    .line 11
    iget-object p1, p0, Lcom/esfile/screen/recorder/media/c;->i:Lcom/esfile/screen/recorder/media/c$g;

    if-eqz p1, :cond_0

    .line 12
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->j:Landroid/os/Handler;

    new-instance v1, Lcom/esfile/screen/recorder/media/c$d;

    invoke-direct {v1, p0, p1}, Lcom/esfile/screen/recorder/media/c$d;-><init>(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$g;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 13
    :cond_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$h;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/media/c;->b(Lcom/esfile/screen/recorder/media/c$h;)V

    return-void
.end method

.method private declared-synchronized c(Lcom/esfile/screen/recorder/media/c$h;)V
    .locals 2

    monitor-enter p0

    .line 4
    :try_start_0
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/media/c;->a(Lcom/esfile/screen/recorder/media/c$h;)Z

    move-result p1

    if-eqz p1, :cond_0

    .line 5
    iget-object p1, p0, Lcom/esfile/screen/recorder/media/c;->i:Lcom/esfile/screen/recorder/media/c$g;

    if-eqz p1, :cond_0

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->j:Landroid/os/Handler;

    new-instance v1, Lcom/esfile/screen/recorder/media/c$a;

    invoke-direct {v1, p0, p1}, Lcom/esfile/screen/recorder/media/c$a;-><init>(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$g;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 7
    :cond_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method private d(Ljava/util/List;)Z
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/media/c$f;",
            ">;)Z"
        }
    .end annotation

    .line 1
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/media/c$f;

    .line 2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/c$f;->b()Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, v0, Lcom/esfile/screen/recorder/media/c$f;->a:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    goto :goto_0

    :cond_1
    const/4 v1, 0x0

    .line 3
    :goto_0
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/c$f;->b()Z

    move-result v2

    const/4 v3, 0x0

    if-eqz v2, :cond_3

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_2

    new-instance v2, Ljava/io/File;

    invoke-direct {v2, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v1

    if-nez v1, :cond_3

    :cond_2
    return v3

    .line 4
    :cond_3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/c$f;->a()Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v0, v0, Lcom/esfile/screen/recorder/media/c$f;->a:Ljava/lang/Object;

    if-nez v0, :cond_0

    return v3

    :cond_4
    const/4 p1, 0x1

    return p1
.end method


# virtual methods
.method public a(Ljava/lang/String;Ljava/util/List;)I
    .locals 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/media/c$f;",
            ">;)I"
        }
    .end annotation

    .line 12
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    if-eqz p2, :cond_3

    .line 13
    invoke-interface {p2}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_3

    .line 14
    invoke-direct {p0, p2}, Lcom/esfile/screen/recorder/media/c;->d(Ljava/util/List;)Z

    move-result v0

    const/4 v1, 0x1

    const-string v2, "dvsr"

    if-nez v0, :cond_0

    const-string p1, "[start] source error"

    .line 15
    invoke-static {v2, p1}, Lcom/esfile/screen/recorder/media/util/k;->a(Ljava/lang/String;Ljava/lang/String;)V

    return v1

    .line 16
    :cond_0
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/media/c;->h:Z

    if-eqz v0, :cond_1

    const-string p1, "[start] has started"

    .line 17
    invoke-static {v2, p1}, Lcom/esfile/screen/recorder/media/util/k;->a(Ljava/lang/String;Ljava/lang/String;)V

    const/4 p1, 0x2

    return p1

    .line 18
    :cond_1
    iput-boolean v1, p0, Lcom/esfile/screen/recorder/media/c;->h:Z

    .line 19
    invoke-direct {p0}, Lcom/esfile/screen/recorder/media/c;->b()V

    .line 20
    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {v0}, Lcom/esfile/screen/recorder/media/util/j;->a(Ljava/io/File;)Z

    .line 21
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->g:Lcom/esfile/screen/recorder/media/c$h;

    if-eqz v0, :cond_2

    .line 22
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/c$h;->a()V

    .line 23
    :cond_2
    new-instance v0, Lcom/esfile/screen/recorder/media/c$h;

    iget-object v5, p0, Lcom/esfile/screen/recorder/media/c;->a:Ljava/util/List;

    iget-object v6, p0, Lcom/esfile/screen/recorder/media/c;->b:Ljava/util/List;

    iget-object v7, p0, Lcom/esfile/screen/recorder/media/c;->c:Ljava/util/List;

    move-object v1, v0

    move-object v2, p0

    move-object v3, p1

    move-object v4, p2

    invoke-direct/range {v1 .. v7}, Lcom/esfile/screen/recorder/media/c$h;-><init>(Lcom/esfile/screen/recorder/media/c;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/media/c;->g:Lcom/esfile/screen/recorder/media/c$h;

    .line 24
    iget p1, p0, Lcom/esfile/screen/recorder/media/c;->d:I

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/media/c$h;->a(I)V

    .line 25
    iget-object p1, p0, Lcom/esfile/screen/recorder/media/c;->g:Lcom/esfile/screen/recorder/media/c$h;

    iget p2, p0, Lcom/esfile/screen/recorder/media/c;->e:I

    iget v0, p0, Lcom/esfile/screen/recorder/media/c;->f:I

    invoke-virtual {p1, p2, v0}, Lcom/esfile/screen/recorder/media/c$h;->a(II)V

    .line 26
    new-instance p1, Ljava/lang/Thread;

    iget-object p2, p0, Lcom/esfile/screen/recorder/media/c;->g:Lcom/esfile/screen/recorder/media/c$h;

    const-string v0, "StitchTask"

    invoke-direct {p1, p2, v0}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V

    invoke-virtual {p1}, Ljava/lang/Thread;->start()V

    const/4 p1, 0x0

    return p1

    .line 27
    :cond_3
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string p2, "[start] sources cannot be empty"

    invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1

    .line 28
    :cond_4
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string p2, "[start] destPath cannot be empty"

    invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public a()V
    .locals 2

    .line 29
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/media/c;->h:Z

    if-nez v0, :cond_0

    return-void

    :cond_0
    const-string v0, "dvsr"

    const-string v1, "cancel"

    .line 30
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/media/util/k;->c(Ljava/lang/String;Ljava/lang/String;)V

    const/4 v0, 0x0

    .line 31
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/media/c;->h:Z

    .line 32
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->g:Lcom/esfile/screen/recorder/media/c$h;

    if-eqz v0, :cond_1

    .line 33
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/c$h;->a()V

    const/4 v0, 0x0

    .line 34
    iput-object v0, p0, Lcom/esfile/screen/recorder/media/c;->g:Lcom/esfile/screen/recorder/media/c$h;

    :cond_1
    return-void
.end method

.method public a(I)V
    .locals 0

    .line 9
    iput p1, p0, Lcom/esfile/screen/recorder/media/c;->d:I

    return-void
.end method

.method public a(II)V
    .locals 0

    .line 10
    iput p1, p0, Lcom/esfile/screen/recorder/media/c;->e:I

    .line 11
    iput p2, p0, Lcom/esfile/screen/recorder/media/c;->f:I

    return-void
.end method

.method public declared-synchronized a(Lcom/esfile/screen/recorder/media/c$g;)V
    .locals 0

    monitor-enter p0

    .line 35
    :try_start_0
    iput-object p1, p0, Lcom/esfile/screen/recorder/media/c;->i:Lcom/esfile/screen/recorder/media/c$g;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 36
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public declared-synchronized a(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/ba;",
            ">;)V"
        }
    .end annotation

    monitor-enter p0

    .line 5
    :try_start_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    if-eqz p1, :cond_0

    .line 6
    invoke-interface {p1}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_0

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->a:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 8
    :cond_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public declared-synchronized b(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/s7;",
            ">;)V"
        }
    .end annotation

    monitor-enter p0

    .line 2
    :try_start_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    if-eqz p1, :cond_0

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->c:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 4
    :cond_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public declared-synchronized c(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/g8;",
            ">;)V"
        }
    .end annotation

    monitor-enter p0

    .line 1
    :try_start_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    if-eqz p1, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 3
    :cond_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method
